package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 个人链地址管理
 *
 * @author zcq
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tz_user_nft_address_book")
@Schema(description = "个人链地址管理")
@Builder
public class UserNftAddressBook {

    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 姓名
     */
    @Schema(description = "姓名")
    @TableField(value = "user_name")
    private String userName;
    /**
     * 昵称备注
     */
    @Schema(description = "昵称备注")
    @TableField(value = "nick_name")
    private String nickName;
    /**
     * 链名称
     */
    @Schema(description = "链名称")
    @TableField(value = "nft_name")
    private String nftName;
    /**
     * 链名称
     */
    @Schema(description = "链名称")
    @TableField(value = "nft_code")
    private String nftCode;
    /**
     * 渠道平台名称
     */
    @Schema(description = "渠道平台名称")
    @TableField(value = "channel_name")
    private String channelName;
    /**
     * 渠道平台名称
     */
    @Schema(description = "渠道平台名称")
    @TableField(value = "channel_code")
    private String channelCode;
    /**
     * 地址
     */
    @Schema(description = "地址")
    @TableField(value = "adress")
    private String adress;
    @TableField(value = "status")
    private Integer status;
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    @TableField(value = "update_time")
    private Date updateTime;

    @Schema(description = "用户id")
    @TableField(value = "user_id")
    private String userId;

    @Schema(description = "用户渠道id")
    @TableField(value = "channel_user_id")
    private String channelUserId;

    @Schema(description = "类型")
    @TableField(value = "type")
    private String type;

    @Schema(description = "后台过滤")
    @TableField(exist = false)
    private Boolean flag;
}
